/**
 * User: yd
 * Date: 2019/5/24
 * Time: 15:22
 **/
import Vue from "vue";
import Router from "vue-router";
Vue.use(Router);
import home from './home'
export default new Router({
	mode: "history",
	base: process.env.BASE_URL,
	routes: [
		{
			path:'/',
			name:'home',
			redirect: () => '/home',
		},
		{
			path:'/login',
			name:'login',
			component: () => import("@views/login")
		},
		home
	]
});